

            
// This code is a generated code by a tool
// designed and coded by Shohdi Mohamed Elsheemy ( shohdi@gmail.com )

            
using System;
using System.Collections.Generic;
using System.Web;
namespace DatabaseComponent
{
[Serializable]
public partial class LmsErrors
{
System.Int64 _ID =-1;
public System.Int64 ID
{
get { return _ID;}
set { _ID = value;}
}
System.String _ErrSender ="";
public System.String ErrSender
{
get { return _ErrSender;}
set { _ErrSender = value;}
}
System.String _ErrData ="";
public System.String ErrData
{
get { return _ErrData;}
set { _ErrData = value;}
}
System.String _ErrMessage ="";
public System.String ErrMessage
{
get { return _ErrMessage;}
set { _ErrMessage = value;}
}
System.String _ErrStackTrace ="";
public System.String ErrStackTrace
{
get { return _ErrStackTrace;}
set { _ErrStackTrace = value;}
}
System.String _ErrToString ="";
public System.String ErrToString
{
get { return _ErrToString;}
set { _ErrToString = value;}
}
public LmsErrors()
{
}
public LmsErrors(System.String __ErrSender,System.String __ErrData,System.String __ErrMessage,System.String __ErrStackTrace,System.String __ErrToString)
{
_ErrSender = __ErrSender;
_ErrData = __ErrData;
_ErrMessage = __ErrMessage;
_ErrStackTrace = __ErrStackTrace;
_ErrToString = __ErrToString;
}
public LmsErrors(System.Int64 __ID,System.String __ErrSender,System.String __ErrData,System.String __ErrMessage,System.String __ErrStackTrace,System.String __ErrToString)
{
_ID = __ID;
_ErrSender = __ErrSender;
_ErrData = __ErrData;
_ErrMessage = __ErrMessage;
_ErrStackTrace = __ErrStackTrace;
_ErrToString = __ErrToString;
}


             public override bool Equals(object obj)
         {
             if (obj is LmsErrors)
             {
                 LmsErrors newObj = (LmsErrors)obj;

                 if (newObj.ID == this.ID )
                 {
                     return true;
                 }
                 else
                 {
                     return false;
                 }
             }

             else
             {
                 return false;
             }

            
         }            











             }
}
